package cc.zy.base.hr.entity;

import cc.zy.base.common.converter.TimeConverter;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.wuwenze.poi.annotation.Excel;
import com.wuwenze.poi.annotation.ExcelField;
import lombok.Data;

import java.util.Date;

/**
 * @author TK
 * @time 2022/03/09 59:55:47
 */
@Data
@TableName("t_hr_examine_simple_checkbox")
@Excel("多选题表")
public class ExamineSimpleCheckbox {

    /**
     * 考试单选题id
     */
    @TableId(value = "ID")
    @ExcelField(value = "考试单选题ID")
    private Integer id;

    /**
     * 试题ID
     */
    @TableId(value = "EXAMINE_SIMPLE_ID")
    @ExcelField(value = "试题ID")
    private Integer examineSimpleId;

    /**
     * 题目内容
     */
    @TableId(value = "CONTENT")
    @ExcelField(value = "题目内容")
    private String content;

    /**
     * 题目分值
     */
    @TableId(value = "SCORE")
    @ExcelField(value = "题目分值")
    private Integer score;

    /**
     * 正确答案
     */
    @TableId(value = "ANSWER")
    @ExcelField(value = "正确答案")
    private String answer;

    /**
     * 选项1内容
     */
    @TableId(value = "OPTION_CONTENT_A")
    @ExcelField(value = "选项1内容")
    private String optionContentA;

    /**
     * 选项2内容
     */
    @TableId(value = "OPTION_CONTENT_B")
    @ExcelField(value = "选项2内容")
    private String optionContentB;

    /**
     * 选项3内容
     */
    @TableId(value = "OPTION_CONTENT_C")
    @ExcelField(value = "选项3内容")
    private String optionContentC;

    /**
     * 选项4内容
     */
    @TableId(value = "OPTION_CONTENT_D")
    @ExcelField(value = "选项4内容")
    private String optionContentD;

    /**
     * 选项5内容
     */
    @TableId(value = "OPTION_CONTENT_E")
    @ExcelField(value = "选项5内容")
    private String optionContentE;

    /**
     * 选项6内容
     */
    @TableId(value = "OPTION_CONTENT_F")
    @ExcelField(value = "选项6内容")
    private String optionContentF;

    /**
     * 选项7内容
     */
    @TableId(value = "OPTION_CONTENT_G")
    @ExcelField(value = "选项7内容")
    private String optionContentG;

    /**
     * 选项8内容
     */
    @TableId(value = "OPTION_CONTENT_H")
    @ExcelField(value = "选项8内容")
    private String optionContentH;

    /**
     * 选项9内容
     */
    @TableId(value = "OPTION_CONTENT_I")
    @ExcelField(value = "选项9内容")
    private String optionContentI;

    /**
     * 选项10内容
     */
    @TableId(value = "OPTION_CONTENT_J")
    @ExcelField(value = "选项10内容")
    private String optionContentJ;

    /**
     * 上传图片的URL地址
     */
    @TableId(value = "URL")
    @ExcelField(value = "上传图片的URL地址")
    private String url;

    /**
     * 创建用户id
     */
    @TableField("CREATE_STAFF_ID")
    @ExcelField(value = "创建试卷用户ID")
    private Long createStaffId;

    /**
     * 创建时间
     */
    @TableField("CREATE_DATE")
    @ExcelField(value = "创建时间", writeConverter = TimeConverter.class)
    @JsonFormat(pattern = "yyyy年MM月dd日 HH时mm分ss秒", timezone = "CTT")
    private Date createDate;

    /**
     * 修改人id
     */
    @TableField("LAST_MODIFY_STAFF_ID")
    @ExcelField(value = "修改试卷用户ID")
    private Long lastModifyStaffId;

    /**
     * 修改时间
     */
    @TableField("LAST_MODIFY_DATE")
    @ExcelField(value = "最后修改日期", writeConverter = TimeConverter.class)
    @JsonFormat(pattern = "yyyy年MM月dd日 HH时mm分ss秒", timezone = "CTT")
    private Date lastModifyDate;

}
